package com.lekang.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lekang.common.annotation.Excel;
import com.lekang.common.core.domain.BaseEntity;

/**
 * 护理等级对象 nursing_level
 *
 * @author ruoyi
 * @date 2025-10-14
 */
public class NursingLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID")
    private Long id;

    /** 等级名称 */
    @Excel(name = "等级名称")
    private String levelName;

    /** 护理费用 */
    @Excel(name = "护理费用")
    private BigDecimal nursingFee;

    /** 等级说明 */
    @Excel(name = "等级说明")
    private String levelDescription;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long creator;

    /** 状态(0:禁用 1:启用) */
    @Excel(name = "状态(0:禁用 1:启用)")
    private Long status;

    /** 逻辑删除 */
    private Long isDeleted;

    /** 额外字段1 */
    private String extraField1;

    /** 额外字段2 */
    private String extraField2;

    @Excel(name = "执行计划名称")
    private String planName;

    @Excel(name = "关联的执行计划Id")
    private Long planId;

    @Excel(name = "创建人姓名")
    private String creatorName;
    
    /** 是否被老人使用（非数据库字段，用于前端判断是否可删除/编辑） */
    private Boolean isUsedByElderly;

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }
    
    public Boolean getIsUsedByElderly() {
        return isUsedByElderly;
    }
    
    public void setIsUsedByElderly(Boolean isUsedByElderly) {
        this.isUsedByElderly = isUsedByElderly;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }






    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setLevelName(String levelName)
    {
        this.levelName = levelName;
    }

    public String getLevelName()
    {
        return levelName;
    }

    public void setNursingFee(BigDecimal nursingFee)
    {
        this.nursingFee = nursingFee;
    }

    public BigDecimal getNursingFee()
    {
        return nursingFee;
    }

    public void setLevelDescription(String levelDescription)
    {
        this.levelDescription = levelDescription;
    }

    public String getLevelDescription()
    {
        return levelDescription;
    }

    public void setCreator(Long creator)
    {
        this.creator = creator;
    }

    public Long getCreator()
    {
        return creator;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    public void setIsDeleted(Long isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted()
    {
        return isDeleted;
    }

    public void setExtraField1(String extraField1)
    {
        this.extraField1 = extraField1;
    }

    public String getExtraField1()
    {
        return extraField1;
    }

    public void setExtraField2(String extraField2)
    {
        this.extraField2 = extraField2;
    }

    public String getExtraField2()
    {
        return extraField2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("levelName", getLevelName())
                .append("nursingFee", getNursingFee())
                .append("levelDescription", getLevelDescription())
                .append("creator", getCreator())
                .append("createTime", getCreateTime())
                .append("status", getStatus())
                .append("isDeleted", getIsDeleted())
                .append("extraField1", getExtraField1())
                .append("extraField2", getExtraField2())
                .toString();
    }
}